package com.crazy.shell.config.linstener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationListener;

/**
 * Created by creazier.huang on 16/9/30.
 */
public class AppReadyLinstener implements ApplicationListener<ApplicationReadyEvent> {

    private  final Logger logger = LoggerFactory.getLogger(AppReadyLinstener.class);

    @Override
    public void onApplicationEvent(ApplicationReadyEvent event) {

        logger.info("AppReadyLinstener order");
    }

}
